
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <title>欢迎使用TPCMS</title>

    <style type="text/css">

    ::selection{ background-color: #E13300; color: white; }
    ::moz-selection{ background-color: #E13300; color: white; }
    ::webkit-selection{ background-color: #E13300; color: white; }

    body {
        background-color: #fff;
        margin: 40px;
        font: 13px/20px normal Helvetica, Arial, sans-serif;
        color: #4F5155;
    }

    a {
        color: #003399;
        background-color: transparent;
        font-weight: normal;
    }

    h1 {
        color: #444;
        background-color: transparent;
        border-bottom: 1px solid #D0D0D0;
        font-size: 19px;
        font-weight: normal;
        margin: 0 0 14px 0;
        padding: 14px 15px 10px 15px;
    }

    code {
        font-family: Consolas, Monaco, Courier New, Courier, monospace;
        font-size: 12px;
        background-color: #f9f9f9;
        border: 1px solid #D0D0D0;
        color: #002166;
        display: block;
        margin: 14px 0 14px 0;
        padding: 12px 10px 12px 10px;
    }

    #body{
        margin: 0 15px 0 15px;
    }
    
    p.footer{
        text-align: right;
        font-size: 11px;
        border-top: 1px solid #D0D0D0;
        line-height: 32px;
        padding: 0 10px 0 10px;
        margin: 20px 0 0 0;
    }
    
    #container{
        margin: 10px;
        border: 1px solid #D0D0D0;
        -webkit-box-shadow: 0 0 8px #D0D0D0;
    }
    </style>
</head>
<body>

<div id="container">

    <div id="body">

   

        <p>文档目录结构</p>
        <p>备注所有的请求必须加上key参数 ， key参数的默认值可以为：<br>
        <?php 
        	foreach(C('auth_key') as $val){
        ?>
        <font color='red'><?php echo $val;?></font><br>
     
        <?php } ?>
        </p>
         <p>统一的约定 , 服务器返回的数据格式是:{status:1 , message:'成功'} ，1成功 0失败</p>
         
         <p>系统接口</p>
        <code>
          
            <ul>
                <li><a href="<?php echo U("doc/system")?>">获取系统变量接口</a></li>
              
            </ul>
            
            
        </code>
          <p>广告接口</p>
        <code>
          
            <ul>
                <li><a href="<?php echo U("doc/ad")?>">广告列表接口</a></li>
              
            </ul>
            
            
        </code>
       
   	<p>用户接口</p>
        <code>
          
            <ul>
                <li><a href="<?php echo U("doc/member_register")?>">用户注册接口</a></li>
              	<li><a href="<?php echo U("doc/member_login")?>">用户登录接口</a></li>
              	<li><a href="<?php echo U("doc/get_user")?>">获取用户信息接口</a></li>
              	<li><a href="<?php echo U("doc/edit_pwd")?>">修改密码接口</a></li>
              	<li><a href="<?php echo U("doc/forget_pwd")?>">忘记密码接口</a></li>
              	<li><a href="<?php echo U("doc/edit_info")?>">基本资料修改接口</a></li>
              	<li><a href="<?php echo U("doc/ranking")?>">排行榜接口</a></li>
              	<li><a href="<?php echo U("doc/recharge")?>">充值接口</a></li>
            
            	<li><a href="<?php echo U("doc/pic_edit")?>">图像修改</a></li>
            	
            </ul>
  
        </code>






    </div>

</div>

</body>
</html>